package com.gxlu.ms.base.module.handler;

import com.gxlu.ms.base.module.context.Context;
import com.gxlu.ms.base.result.FinalResult;

/**
 *
 * @author andy.lhc
 * @date 2018/3/16
 */
public class DefaultBaseHandler<T extends Context> extends BaseHandler<T,FinalResult> {

    @Override
    public FinalResult execute(T context) {
        FinalResult result = FinalResult.success();
        result.setData(context);
        return result ;
    }
}
